package com.by.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface StockMapper {

    Map get(int id);

    int updateStock(@Param("goodsId") int goodsId,@Param("num") int num);
}
